<?php

 /**
  * @package JooS
  * @subpackage Syntax
  */

  require_once "JooS/Syntax/Simple.php";

  class JooS_Syntax_Simple_Symbol extends JooS_Syntax_Simple {
    private $_value = null;

    public function init() {
      $this->_value = func_get_arg(0);
    }

    /**
     * @return bool
     */
    protected function checkChars() {
      return $this->getChars() == $this->_value;
    }
    
    protected function setChars() {
      $this->initChars( $this->substr( strlen($this->_value) ) );
    }
  }
